<%--
  Created by IntelliJ IDEA.
  User: ZMX
  Date: 2023/4/25
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" language="java"%>
<!DOCTYPE html>
<html>
<head>
    <title>首页</title>
</head>
<body>
<h1>登陆成功</h1>
当前在线人数为：<%=application.getAttribute("onlineCount") %></p>
登录用户数为：<%=application.getAttribute("UserCount") %></p>
<%--<a href="logout">退出登录</a>--%>
<a href="<%=response.encodeUrl("logout.jsp") %>">退出登录</a>
</body>
</html>